//
//  NetworkInfo.h
//  ARP Alert
//
//  Created by James Richardson on 7/29/11.
//  Copyright 2011 Home. All rights reserved.
//

#ifndef ARP_Alert_NetworkInfo_h
#define ARP_Alert_NetworkInfo_h

#define MAXADDRS	32

//local ip, mac, hw
extern char *if_names[MAXADDRS];
extern char *ip_names[MAXADDRS];
extern char *hw_addrs[MAXADDRS];
extern unsigned long ip_addrs[MAXADDRS];

//local arp table - host, ip, hw
extern char *host_host[MAXADDRS];
extern char *ip_host[MAXADDRS];
extern char *hw_host[MAXADDRS];

// Function prototypes
void InitAddresses();
void FreeAddresses_ip();
void FreeAddresses_arp();
void GetIPAddresses();
void GetHWAddresses();
void FreeAddresses_arp_noNet();
int dump();


#endif
